package com.xyz.entity.mapper;

import com.xyz.entity.pojo.UpkeepMaintenance;
import com.xyz.entity.pojo.UpkeepMaintenanceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UpkeepMaintenanceMapper {
    long countByExample(UpkeepMaintenanceExample example);

    int deleteByExample(UpkeepMaintenanceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UpkeepMaintenance record);

    int insertSelective(UpkeepMaintenance record);

    List<UpkeepMaintenance> selectByExample(UpkeepMaintenanceExample example);

    UpkeepMaintenance selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UpkeepMaintenance record, @Param("example") UpkeepMaintenanceExample example);

    int updateByExample(@Param("record") UpkeepMaintenance record, @Param("example") UpkeepMaintenanceExample example);

    int updateByPrimaryKeySelective(UpkeepMaintenance record);

    int updateByPrimaryKey(UpkeepMaintenance record);
}